﻿<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<%namespace YouHP.Model%>
<%namespace YouHP.Utility%>
<html>
<head>
	<link rel="stylesheet" type="text/css" href="/support/alpha/style.css" />
	<link rel="stylesheet" href="/support/common/jquery-ui.css" type="text/css" />
	<link rel="stylesheet" href="/support/common/impromptu.css" type="text/css" />
	<script type="text/javascript" src="/support/common/common.js"></script>
	<script type="text/javascript" src="/support/common/jquery.js"></script>
	<script type="text/javascript" src="/support/common/impromptu.js"></script>
	<script type="text/javascript" src="/support/common/ui.core.js"></script>
	<script type="text/javascript" src="/support/common/ui.datepicker.js"></script>
	<script type="text/javascript" src="/support/common/ui.datepicker-zh-CN.js"></script>
	<style>
	    td { text-align:left } 
	    table { line-height:25px }
	</style>
</head>
<body>
    <div>{IndicatorData.Name}</div>
	<div>
        <input type="hidden" id="hid" value={IndicatorHistoryData.Id}>
        <input type="hidden" id="idcid" value={IndicatorData.Id}>
	             <table class="table-box" width="700px">
	                <tbody>
	                <tr>
                        <td class="table-box-left">日期</td>
	                    <td >
	                        <input type="text" name="date" readonly="true" id="date"
	                             value="{IndicatorHistoryData.RecordDate.ToString("yyyy-MM-dd")}" class="inputstyle" />
	                    </td>
	                 </tr>
	                     
	                 <tr valign="top">
                         <td class="table-box-left">指标</td>
                         <td >
                           <input type ="text" name ="datavalue" id="datavalue" value="{IndicatorHistoryData.DataValue}" /> &nbsp;&nbsp;{IndicatorData.MeasurementUnits}&nbsp;&nbsp;
                              （提示：正常范围在 {IndicatorData.NormalMinValue} {IndicatorData.MeasurementUnits} 与 {IndicatorData.NormalMaxValue} {IndicatorData.MeasurementUnits} 之间）    
	                     </td>
    	            </tr>
    	            
    	            <tr>
    	                <td class="table-box-left">&nbsp;</td>
    	                <td >     	                  
                            <a href="javascript:AddHistory();" class="yellowbutton">提交</a>
                        </td>
    	            </tr>   
	                </tbody>
	                </table>             
	            </form>
	            <br />
	        </div>
</div><script type="text/javascript" src="/support/Alpha/Js/indicatorhistory/historyadd.js"></script>  
</body>
</html>  